﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="interrupcion.aspx.cs" Inherits="happroject.interrupcion" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Interruptions (HAP Project)</title>
    <style type="text/css">
        .style1
        {
            width: 250px;
            font-size: x-small;
        }
        .style2
        {
            text-align: center;
        }
        .style3
        {
            text-align: left;
        }
    </style>
</head>
<body style="font-family: 'Trebuchet MS'; font-size: small" 
    background="images/hdFastNoteTapiz.gif">
    <form id="form1" runat="server">
    <div class="style2">

        <div class="style3">
               <asp:ImageButton ID="ImageButton1" runat="server" 
                   ImageUrl="~/images/tabsFastNote.jpg" onclick="ImageButton1_Click" />
            <br />

     <%   
    
        ArrayList listadoCompleto = new ArrayList();
        listadoCompleto = (ArrayList)Session["dontForget"];
        if (listadoCompleto == null)
        {
        
        %>
                Unplanned Empty<br/>
                Add a new one:<br/>
                <a href="anadirNuevaInterrupcion.aspx"><img border="0" alt="" src="images/addnewtaskico.gif" /></a>
            <%
}
        else
        {
        
        %>


      <br />
        <br />
    
        </div>
    
        <table class="style1">
        <tr>
        <td>Unplanned </td>
        <td align="center" width="20"> <a href="anadirNuevaInterrupcion.aspx"><img border="0" alt="" src="images/addnewtaskico.gif" /></a></td>
        </tr>
        <%
            foreach (happroject.QuickDontForget notaRapida in listadoCompleto)
            {
             %>
            <tr>
                <td>
                    <br />
                    *
                    <%=notaRapida.textoNoOlvidar %><br />
                </td>
                <td align="center" width="20">
                <%
                    if (notaRapida.activo)
                    {
                     %>
                        <img alt="" src="images/papeleraico.png" style="height: 19px; width: 20px" />
                    <%
                    }
                     %>
                    </td>
            </tr>
            <% 
            }
                %>
        </table>
    </div>
    <% } %>
    </form>
</body>
</html>
